FROM openjdk:8-jdk-alpine
ADD src/main/docker/mqtt-iot-0.0.1-SNAPSHOT.jar app.jar
RUN echo '39.106.253.153  uws.haier.net' >> /etc/hosts
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/app.jar"]
